package com.linxiao.call.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 语音通知批次对象 crm_webcall_file
 * 
 * @author qiqi
 * @date 2022-06-28
 */
public class CrmWebcallFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 批次ID */
    private Long id;

    /** 批次名称 */
    @Excel(name = "批次名称")
    private String name;

    /** 批次描述 */
    @Excel(name = "批次描述")
    private String description;

    /** 批次状态 0未导⼊, 1导⼊完成, 2呼叫完, 3已冻结 */
    @Excel(name = "批次状态 0未导⼊, 1导⼊完成, 2运行中, 3已结束")
    private Integer status;

    /** 重复数 */
    @Excel(name = "重复数")
    private Long repeatCount;

    /** 导入数 */
    @Excel(name = "导入数")
    private Long importCount;

    /** 批次开始时间 */
    @Excel(name = "批次开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 批次结束时间 */
    @Excel(name = "批次结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date overTime;

    /** 获取天润信息的部门ID */
    @Excel(name = "获取天润信息的部门ID")
    private Long trDeptId;
    /** 获取天润信息的部门ID */
    private Long mchId;

    /** 当前用户所在的部门 */
    private Long deptId;

    /** 用户id */
    private Long userId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getMchId() {
        return mchId;
    }

    public void setMchId(Long mchId) {
        this.mchId = mchId;
    }

    public Long getTrDeptId() {
        return trDeptId;
    }

    public void setTrDeptId(Long trDeptId) {
        this.trDeptId = trDeptId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRepeatCount(Long repeatCount) 
    {
        this.repeatCount = repeatCount;
    }

    public Long getRepeatCount() 
    {
        return repeatCount;
    }
    public void setImportCount(Long importCount) 
    {
        this.importCount = importCount;
    }

    public Long getImportCount() 
    {
        return importCount;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setOverTime(Date overTime) 
    {
        this.overTime = overTime;
    }

    public Date getOverTime() 
    {
        return overTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("repeatCount", getRepeatCount())
            .append("importCount", getImportCount())
            .append("startTime", getStartTime())
            .append("overTime", getOverTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
